package com.fuang.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.fuang.service.DemoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by Fuang on 2018-2-24.
 */
@Service
public class DemoServiceImpl implements DemoService {
    public static final Logger LOG = LoggerFactory.getLogger(DemoServiceImpl.class);

    @Override
    public String sayHello(String name) {
        LOG.info("--------------------------------{}", name);
        return "Hello " + name;
    }
}
